package com.yt.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import com.yt.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 系统权限信息DTO
 *
 * @author zhou
 * @Date 2025-09-03 15:12:37
 */
@Data
@TableName("sys_permission")
@ApiModel(value = "系统权限信息对象", description = "系统权限信息对象")
public class SysPermissionDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "权限名称")
    private String permissionName;
    @ApiModelProperty(value = "权限编码")
    private String permissionCode;
    @ApiModelProperty(value = "权限类型（0菜单 1按钮 2接口）")
    private Integer type;
    @ApiModelProperty(value = "访问地址")
    private String url;
    @ApiModelProperty(value = "状态（0启用，1禁用）")
    private Integer status;
    @ApiModelProperty(value = "勾选情况（0勾选，1未勾选）")
    private Integer selected;
}